package deng.java.examples;

import javax.xml.bind.annotation.XmlNsForm;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

import org.jboss.classloading.spi.vfs.dependency.VFSClassLoaderPolicyModule;
import org.jboss.classloading.spi.vfs.metadata.VFSClassLoaderFactory;
import org.jboss.xb.annotations.JBossXmlSchema;

@JBossXmlSchema(namespace="urn:jboss:pattern-classloader:1.0", elementFormDefault=XmlNsForm.QUALIFIED)
@XmlRootElement(name="pattern-classloader")
@XmlType(propOrder = {"requirements", "capabilities", "roots"})
public class PatternBasedClassLoaderModuleFactory extends VFSClassLoaderFactory {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6552246131523290583L;
	
	@Override
	protected Class<? extends VFSClassLoaderPolicyModule> getModuleClass() {
		return PatternBasedVFSClassLoaderPolicyModule.class;
	}

}
